/* zhengYu */

import request from '@/utils/request'

// 查询签约团队管理列表
export function listDocTeam(query) {
  return request({
    url: '/teamManagement/docTeam/list',
    method: 'get',
    params: query
  })
}

// 查询签约团队管理详细
export function getDocTeam(teamId) {
  return request({
    url: '/teamManagement/docTeam/' + teamId,
    method: 'get'
  })
}

// 新增签约团队管理
export function addDocTeam(data) {
  return request({
    url: '/teamManagement/docTeam',
    method: 'post',
    data: data
  })
}

// 修改签约团队管理
export function updateDocTeam(data) {
  return request({
    url: '/teamManagement/docTeam',
    method: 'put',
    data: data
  })
}

// 删除签约团队管理
export function delDocTeam(teamId) {
  return request({
    url: '/teamManagement/docTeam/' + teamId,
    method: 'delete'
  })
}
